package com.daniel.juc.stream;

/**
 * 详细说明
 *
 * @author Daniel
 * @version V1.0
 * @date 2020/5/21 14:19
 */
public class Test02 {
	public static void main(String[] args) {
		// Stream.of("A", "BB", "CCC", "DDDD", "FFFFF")
		// 		.map(s -> s.length())
		// 		.forEach((x) -> {
		// 			System.out.println(x);
		// 		});

		// Stream.of("A", "BB", "CCC", "DDDD", "FFFFF")
		// 		.map(String::length)
		// 		.forEach(System.out::println);


		FunctionalTest functionalTest = new FunctionalTest();
		functionalTest.getName("222");
		System.out.println(functionalTest.getStr("333"));

	}
}
